package com.qfedu.mapper;

import com.qfedu.model.Permission;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 概述:
 *
 * @Author: Tbh
 * @Date: 2022/7/2 15:10
 */

public interface PermissionMapper {

    @Select("Select id,path,title,link_url as linkUrl,parent_id,icon from permission where parent_id =#{id} ")
    List<Permission> findAll(int id);

}
